package com.core.wanted;

import android.app.Activity;
import android.content.Intent;
import android.os.Bundle;
import android.os.Handler;
import android.util.Log;
import android.widget.ImageView;
import android.widget.Toast;

import com.example.wanted.R;

public class LogoActivity extends Activity {
    Handler handler;
    ImageView splashImage;
   
    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_splash);
       
        handler = new Handler();
       
        splashImage = (ImageView)findViewById(R.id.splash_image);
        splashImage.setImageResource(R.drawable.test_bg);
       
        Log.d("bong", "11111111111111111111111111");
        handler.postDelayed(new Runnable() {
            @Override
            public void run() {
                // TODO Auto-generated method stub
                Toast.makeText(getApplicationContext(), "LOGO ACTIVITY", Toast.LENGTH_LONG);
                Log.d("bong", "222222222222222222222222");
                Intent i = new Intent(getApplication(), IntroductionActivity.class);
                startActivity(i);
                finish();
            }         
//        }, 2000);
        }, 200);
    }
}
